package team.jaman.autosell.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * 进入页面的控制器
 * @author Administrator
 *
 */
@Controller
public class IntoViewController {
	/**
	 * 进入index.jsp页面
	 * @return
	 */
	@RequestMapping("intoIndex")
	public String intoIndex() {
		return "index";
	}
	
	/**
	 * 进入welcome.jsp页面
	 * @return
	 */
	@RequestMapping("intoWelcome")
	public String intoWelcome() {
		return "welcome";
	}
	
	/**
	 * 进入product-list.jsp页面
	 * @return
	 */
	@RequestMapping("intoProducList")
	public String intoProducList() {
		return "product-list";
	}
	
	/**
	 * 进入orders-list.jsp页面
	 * @return
	 */
	@RequestMapping("intoOrdersList")
	public String intoOrdersList() {
		return "orders-list";
	}
	
	/**
	 * 进入manager-list.jsp页面
	 * @return
	 */
	@RequestMapping("intoManagerList")
	public String intoManagerList() {
		return "manager-list";
	}
	
	/**
	 * 进入logger-list.jsp页面
	 * @return
	 */
	@RequestMapping("intoLoggerList")
	public String intoLoggerList() {
		return "logger-list";
	}
	
	/**
	 * 进入users-list.jsp页面
	 * @return
	 */
	@RequestMapping("intoUsersList")
	public String intoUsersList() {
		return "users-list";
	}
	
	/**
	 * 进入admin-info.jsp页面
	 * @return
	 */
	@RequestMapping("intoAdminInfo")
	public String intoAdminInfo() {
		return "admin-info";
	}
}
